package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.OneClickReport;
import com.ruoyi.system.domain.TmcUser;

/**
 * 一键上报Mapper接口
 * 
 * @author ruoyi
 * @date 2021-07-01
 */
public interface OneClickReportMapper 
{
    /**
     * 查询一键上报
     * 
     * @param oId 一键上报ID
     * @return 一键上报
     */
    public OneClickReport selectOneClickReportById(Long oId);
    public OneClickReport selectOneClickReportByTime(Long publicuserId);

    /**
     * 查询一键上报列表
     * 
     * @param oneClickReport 一键上报
     * @return 一键上报集合
     */
    public List<OneClickReport> selectOneClickReportList(OneClickReport oneClickReport);
    public List<TmcUser> quweyfamily(Long publicuserId);

    /**
     * 新增一键上报
     * 
     * @param oneClickReport 一键上报
     * @return 结果
     */
    public int insertOneClickReport(OneClickReport oneClickReport);

    /**
     * 修改一键上报
     * 
     * @param oneClickReport 一键上报
     * @return 结果
     */
    public int updateOneClickReport(OneClickReport oneClickReport);

    /**
     * 删除一键上报
     * 
     * @param oId 一键上报ID
     * @return 结果
     */
    public int deleteOneClickReportById(Long oId);

    /**
     * 批量删除一键上报
     * 
     * @param oIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteOneClickReportByIds(Long[] oIds);
}
